package com.qijian.maindata.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qijian.maindata.domain.Team;
import com.qijian.maindata.domain.query.TeamQuery;
import com.qijian.maindata.domain.vo.TeamVo;

import java.util.List;

/**
 * 生产班组Service接口
 *
 * @author qijian
 * @date 2025-04-01
 */
public interface ITeamService extends IService<Team> {
    Page<TeamVo> pageVo(Page<Team> page, Wrapper<TeamQuery> queryWrapper);

    List<TeamVo> listVo(Wrapper<TeamQuery> queryWrapper);

    @Override
    boolean save(Team team);

    boolean update(Team team);

    TeamVo getInfoById(Long teamId);
}
